package io.renren.modules.canteens.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.canteens.dto.FoodDTO;
import io.renren.modules.canteens.dto.SupplierDTO;
import io.renren.modules.canteens.entity.SupplierEntity;

import java.util.List;
import java.util.Map;

/**
 * 供应商表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-11-22
 */
public interface SupplierService extends CrudService<SupplierEntity, SupplierDTO> {
  SupplierDTO getSupplier(String supplierName);
  PageData<SupplierDTO> getName(Map<String, Object> params);
 List<SupplierDTO>  getLikeName(String supplierName);
}